<?xml version="1.0" encoding="UTF-8"?>
<!--
To change this license header, choose License Headers in Project Properties.
To change this template file, choose Tools | Templates
and open the template in the editor.
-->
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:h="http://java.sun.com/jsf/html"
      xmlns:f="http://java.sun.com/jsf/core"
      xmlns:ui="http://java.sun.com/jsf/facelets"
      xmlns:p="http://primefaces.org/ui">
    
    <h:head>
        <title>appSw</title>
        <meta name="viewport" content="width=device-width, initial-scale=1.0"/>
    </h:head>
    <h:body>
        <h:form>
        <div align="center">
            <p:panel header="MENÚ DE ADMINISTRACIÓN" style="margin-bottom:10px;">
                <h:panelGrid columns="3">
                    <p:commandButton value="Administrar Recursos" action="recursosCRUD.xhtml?faces-redirect=true" actionListener="#{recursoController.initialize()}"/>
                    <p:commandButton value="Administrar Usuarios" action="usuariosCRUD.xhtml?faces-redirect=true" actionListener="#{funcionarioController.initialize()}"/>
                    <p:commandButton value="Cerrar Sesion" actionListener="#{loginController.logout()}"/>   
                </h:panelGrid>
            </p:panel>
        </div>
        </h:form>
    </h:body>
</html>
